<!-- <legend><?php echo $title;?></legend> -->
<form class="form-horizontal" action="<?php echo base_url()."index.php/makanancontrollers/tambah_makanan"; ?>" method="post" enctype="multipart/form-data" />
   <!--  <?php echo validation_errors(); echo $message;?> -->

    
    <div class="form-group">
        <label class="col-lg-2 control-label">Nama Makanan</label>
        <div class="col-lg-5">
            <input type="text" name="nama" class="form-control">
        </div>
    </div>
    
    <div class="form-group">
        <label class="col-lg-2 control-label">kategori</label>
        <div class="col-lg-5">
            <input type="text" name="id_kategori" class="form-control">
        </div>
    </div>
    
    <div class="form-group">
        <label class="col-lg-2 control-label">bahan</label>
        <div class="col-lg-10">
            <textarea name="bahan"></textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="col-lg-2 control-label">Cara</label>
        <div class="col-lg-10">
            <textarea name="cara"></textarea>
        </div>
    </div>
    
  
    
    <div class="form-group well">
        <button class="btn btn-primary"><i class="glyphicon glyphicon-hdd"></i> Simpan</button>
        <a href="<?php echo site_url('dashboard/makanan');?>" class="btn btn-default">Kembali</a>
    </div>
</form>